package javalearning.thread;

public class MyThread extends Thread {
    @Override
    public void run() {
        System.out.println("start run method");// terminated
        String s = new String();
        try {
            s.wait();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
